using Microsoft.Xna.Framework;
namespace Tomahawk.Runtime.Input
{
    public class InputManager
    {
        //The input manager have a pad manager (and more)
        private GamePadsManager padsManager;
        public GamePadsManager Pads { get { return padsManager; } }

        private KeyboardManager keyboardManager;
        public KeyboardManager Keys { get { return keyboardManager; } }

        public InputManager()
        {
            padsManager = new GamePadsManager();
            keyboardManager = new KeyboardManager();
        }

        public void Update(float elapsedTime)
        {
            //Update all my components
            padsManager.Update(elapsedTime);
            keyboardManager.Update(elapsedTime);
        }
    }
}
